package com.simple.datax.bo.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.simple.datax.bo.IDataxProcingBO;
import com.simple.datax.dao.IDataxProcingDAO;
import com.simple.datax.vo.DataxProcingVO;
import com.simple.util.object.PageInfoBean;

@Service("dataxProcingBO")
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
public class DataxProcingBOImpl implements IDataxProcingBO{

	@Autowired
	private IDataxProcingDAO dataxProcingDAO;
	
	@Override
	public DataxProcingVO findById(String fcRecvRawMsgId) {
		return dataxProcingDAO.findById(fcRecvRawMsgId);
	}

	@Override
	public List<DataxProcingVO> findAll() {
		return dataxProcingDAO.findAll();
	}

	@Override
	public List<DataxProcingVO> findDataxProcingVOByPage(
			PageInfoBean pageInfoBean, String fcRecvRawMsgId) {
		return dataxProcingDAO.findDataxProcingVOByPage(pageInfoBean, fcRecvRawMsgId);
	}
	
}
